home *** CD-ROM | disk | FTP | other *** search
/ Gamers Delight 2 / Gamers Delight 2.iso / Aminet / game / role / SRunMatGen.lha / all.h < prev    next >
Text File  |  1994-06-26  |  3KB  |  98 lines

  1. /* printout an text and exit the program */
  2. void DisplayErrorMessage(char *);
  3. /* save the Gfx-Format */
  4. BOOL SaveIFF(char *);
  5. /* save the Outputtext */
  6. BOOL SaveText(void);
  7. /* save internal structure */
  8. void SaveData(char *);
  9. /* load internal structure */
  10. void LoadData(char *);
  11. /* generates the matrix according of the rules of SRUN */
  12. void MatrixGenerierung(void);
  13. /* correct matrix and add new nodes */
  14. void MatrixKorrektur(void);
  15. /* edit more edge */
  16. void MatrixEditKanten(void);
  17. /* insert in every nodes his rating */
  18. void MatrixStufe(void);
  19. /* check Level And Code */
  20. void MatrixCheckLevelCode(void);
  21. /* display the matrix */
  22. void MatrixDarstellung(void);
  23. /* fills datastore with money and info */
  24. void MatrixDatenspeicher(void);
  25. /* give a node his number(type) */
  26. void MatrixNummerierung(void);
  27. /* includes the IC */
  28. void MatrixInstallIC(void);
  29. /* creates an SAN */
  30. void CreateSAN(ULONG,ULONG);
  31. /* creates an SN */
  32. void CreateSN(ULONG,ULONG);
  33. /* creates an DS */
  34. void CreateDS(ULONG,ULONG);
  35. /* creates an SPU */
  36. void CreateSPU(ULONG,ULONG);
  37. /* creates an CPU */
  38. void CreateCPU(ULONG,ULONG);
  39. /* creates an IOP */
  40. void CreateIOP(ULONG,ULONG);
  41. /* creates an successor of SPU */
  42. BOOL CreateSPUKnoten(ULONG,ULONG);
  43. /* creates an successor of CPU */
  44. BOOL CreateCPUKnoten(ULONG,ULONG);
  45. /* creates an successor of DS */
  46. BOOL CreateDSKnoten(ULONG,ULONG);
  47. /* paint-routines */
  48. void DrawCPU(ULONG,ULONG,UBYTE);
  49. void DrawSPU(ULONG,ULONG,UBYTE);
  50. void DrawSN(ULONG,ULONG,UBYTE);
  51. void DrawSAN(ULONG,ULONG,UBYTE);
  52. void DrawIOP(ULONG,ULONG,UBYTE);
  53. void DrawDS(ULONG,ULONG,UBYTE);
  54. void DrawLinie(ULONG,ULONG,ULONG,ULONG);
  55. void DrawIC(ULONG,ULONG);
  56. /* decrease the number of the nodes in system */
  57. void AnzahlKnotenSenken(void);
  58. /* tests, if node is an DS,CPU,SPU */
  59. ULONG Editbar(ULONG,ULONG);
  60. /* indert a new node in system */
  61. BOOL InsertNewNode(ULONG,ULONG,ULONG,ULONG);
  62. /* count the nodes */
  63. void CountNodes(void);
  64. /* count the mony in DS */
  65. ULONG CountMoneyDS(void);
  66. /* count the blue nodes */
  67. void CountBlueDS(void);
  68. /* roll one 6-dice */
  69. ULONG Berechne1W6(void);
  70. /* roll two 6-dice */
  71. ULONG Berechne2W6(void);
  72. /* computes rating */
  73. ULONG BerechneStufe(void);
  74. /* computes rating value */
  75. ULONG BerechneStufenwert(void);
  76. /* random nuber */
  77. LONG Zufallszahl(UWORD,UWORD);
  78. /* output of the status */
  79. void StatusAusgabe(char *);
  80. /* read prefs file */
  81. void ScanPrefs(void);
  82. /* print out teh numbers of the nodes */
  83. void AusgabeText(ULONG,ULONG,ULONG,char *);
  84. /* Special routines */
  85. int GetStufe(ULONG,ULONG);
  86. int GetType(ULONG,ULONG);
  87. int GetIceType(ULONG,ULONG);
  88. int GetWDIceStufe(ULONG,ULONG);
  89. int GetIceStufe(ULONG,ULONG);
  90. int GetDatenSize(ULONG,ULONG);
  91. int GetDatenWert(ULONG,ULONG);
  92. int GetTypeName(ULONG,ULONG);
  93. int GetIceArt(ULONG,ULONG);
  94. int GetIceName(ULONG,ULONG);
  95. int GetIceNameType(ULONG,ULONG);
  96. int GetDataInfoWert(ULONG,ULONG);
  97. BOOL GetWD(ULONG,ULONG);
  98.